package com.example.demo.mapper;


import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserInfoDynamicMapper {

    List<UserInfo> selectByCondition(String what1,String what2,String what3);

    Integer insertByCondition(UserInfo userInfo);

    Integer insert(UserInfo userInfo);

    List<UserInfo> selectByCondition2(UserInfo userInfo);

    Integer updateByCondition(UserInfo userInfo);

    Integer deleteById(List<Integer> ids);

    Integer deleteById2(Integer[] ids);

    Integer updateByMap( Map<String,Object> map , List<Integer> list);

    List<UserInfo> selectByInclude();

    Integer insertByList(List<UserInfo> list);

    List<UserInfo> selectByInclude2(UserInfo userInfo);
}
